@use '@/styles/variables'as *;

.seal-sku {
   
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: $white;

    &__head {
        width: 100%;
        display: flex;
        margin-bottom: 18px;

        &-left {
            width: 100px;
            height: 100px;
            margin-right: 12px;

            &>img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        &-right {
            flex: 1;
            display: flex;
            overflow: hidden;
            flex-direction: column;
            justify-content: flex-end;
        }
    }

    &__price {
        display: flex;
    }

    &__tag-list {
        display: flex;
        align-items: center;

        &-item {
            border-radius: 2px;
            margin: 0 6px;
            font-size: 12px;
            text-align: center;
            color: #fff;
            font-weight: bold;
            padding: 4px;
            background-color: #FF0F23;
        }
    }

    &__choose-info {
        margin-top: 8px;
        color: #333;
        font-size: 12px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;

        &>span {
            color: #8c8c8c;
            margin-right: 12px;
        }
    }

    &__select-list {

        &-title {
            color: #262626;
            font-size: 13px;
            font-weight: 700;
            line-height: 40px;
        }

        &-sku {
            display: flex;
            flex-wrap: wrap;
            overflow: hidden;
            align-items: center;

            &-item {
                color: #262626;
                font-size: 11px;
                background-color: #f2f2f2;
                line-height: 30px;
                padding: 0 12px;
                border-radius: 15px;
                margin-bottom: 10px;
                margin-left: 12px;
            }

            &-item.active {
                background-color: #fcedeb;
                border: 1px solid #f2270c;
                color: #f2270c;
                font-weight: 700;
            }
        }
    }

    &__quantity {
        font-size: 13px;
        padding: 16px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        -webkit-box-align: center;
        -webkit-box-pack: justify;

        &-title {
            align-items: center;
            color: #262626;
            font-weight: 700;
        }

        &-input {
            display: flex;
            align-items: center;
            width: 80px;

            &-add {
                font-size: 16px;
            }

            &-reduce {
                font-size: 16px;
            }

            &-num {
                margin: 0 6px;

                &>input {
                    width: 100%;
                    text-align: center;
                    font-size: 14px;
                    line-height: 24px;
                    background-color: #f2f2f2;
                    border-radius: 2px;
                    color: #333;

                }
            }
        }


    }

    &__operator {
        bottom: 0;
        left: 0;
        position: absolute;
        z-index: 1;
        width: 100%;
        display: flex;
        padding: 6px 0;
        justify-content: space-between;
        background-color: #fff;

        &-btn {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: #fff;
            border-radius: 22px;
            background-color: #fa2c19;

            font-weight: bold;
            line-height: 38px;
            text-align: center;
            margin: 0 12px;
            box-shadow: 0 3px 6px 0 rgba(255, 65, 66, .2);

            &__cart {
                background: linear-gradient(135deg, rgb(255, 186, 13), rgb(255, 195, 13) 69%, rgb(255, 207, 13));
            }
        }


    }
}